INCLUDEPATH +=  $$PWD/

# 依赖库
win32: LIBS += -luser32 -ldwmapi -lgdi32

# 获取图标的库
win32: QT += winextras

# QWK依赖
include("$$PWD/LibQWK/share/QWindowKit/qmake/QWKWidgets.pri")

RESOURCES += \
    $$PWD/res/_fwimgs.qrc


# 自动添加 *.h 和 *.cpp 文件，并过滤 build 目录
# 在Unix系统（Linux, macOS）中使用find命令
# unix {
#     SOURCES += $$system(find . -name "*.cpp" -type f -not -path "./build/*" -not -path "*/build/*")
#     HEADERS += $$system(find . -name "*.h" -type f -not -path "./build/*" -not -path "*/build/*")
#     FORMS += $$system(find . -name "*.ui" -type f -not -path "./build/*" -not -path "*/build/*")
# }
# # 在Windows中使用dir命令
# win32 {
#     SOURCES += $$system(dir /s /b *.cpp | findstr /v /i "\\build\\")
#     HEADERS += $$system(dir /s /b *.h | findstr /v /i "\\build\\")
#     FORMS += $$system(dir /s /b *.ui | findstr /v /i "\\build\\")
# }
